﻿using Craftsman.Core.DapperExtensions;
using System.Collections.Generic;

namespace Craftsman.xCoronavirus.Domain.Entities
{
    [Table("modify_request")]
    public class ModifyRequest : BaseEntity
    {
        [Column("hospital_id")]
        public string HospitalId { get; set; }
        [Column("created_time")]
        public System.DateTime CreatedTime { get; set; }
        [Column("requester")]
        public string Requester { get; set; }
        [Column("requester_phone")]
        public string RequesterPhone { get; set; }
        [Column("status")]
        public ModifyRequestStatus Status { get; set; }

        [NotMapped]
        public List<ModifyRequestContact> Contacts { get; set; }
        [NotMapped]
        public List<ModifyRequestMaterialDemand> MaterialDemands { get; set; }
    }
}


